import {createApp} from 'vue'
// import '@/utils'
import '@/lib/index.css'
import {createStore} from "vuex";
import Antd from 'ant-design-vue'
import message from '@/utils/message.utils'
import IvzOnline, {IvzOnlineStore} from '@/lib'

import App from './App.vue'
import router from '@/router'

if(import.meta.env.DEV) {
    import('ant-design-vue/dist/antd.css');
}

const store = createStore(IvzOnlineStore);
let app = createApp(App)
    .use(Antd).use(store).use(router).use(IvzOnline);

app.config.globalProperties.$msg = message;
app.mount('#app')
